home *** CD-ROM | disk | FTP | other *** search
/ Dr. Windows 3 / dr win3.zip / dr win3 / GRAPHICS / WMF2RIP.ZIP / WMF2RIP.DOC next >
Text File  |  1993-10-20  |  6KB  |  119 lines

  1.  ┌──────────────────────────────────────────┐          ┌─────────────────────┐
  2.  │ Windows Meta File to RIPScript Converter │          │ Version 0.000000003 │
  3.  └──────────────────────────────────────────┘          └─────────────────────┘
  4. This utility will be improved upon and if neccessary, perfected, if someone
  5. out there shows some interest. We'll even think about adding other formats.
  6. Interest can be shown in the following ways:
  7.  
  8. o     A <currency of your choice>20.00 note showing up in our
  9.       post-box [WishWare ??!!]
  10. o     A post-card from your home town showing up in our post box promising
  11.       a <currency of your choice>20.00 note one day if we do finish the
  12.       utility, and clearly stating what you'd like to see.
  13. o     Even easier .. drop an email message on CIS to Dave Hall [100075,255]
  14.  
  15. Developed by James Holderness
  16. (c) Vironix Corporation (Pty) Ltd. - May 1993
  17. P.O. Box 1235, Westville, 3630
  18. Republic of South Africa [nope, lions don't roam the streets]
  19.  
  20. ──────────────────────────────────────────────────────────────────────────────
  21.                        ****Major disclaimer****
  22.  
  23. This utility was written some months ago using the RIP 1.5.1 spec. We
  24. havn't updated it to reflect any changes that could be made with the
  25. 1.5.4 spec. The same goes for the documentation below. Our own interest
  26. in this whole RIP thing would probably pick up dramatically if *someone*
  27. would let us in on the RIP 2.0. spec. Hint.
  28.  
  29. ──────────────────────────────────────────────────────────────────────────────
  30.  
  31. Usage: WMF2RIP source [dest] [options]
  32.  
  33. Converts SOURCE.WMF to SOURCE.RIP or DEST.RIP.
  34.  
  35. Since the RIP files produced can get quite big, there are options which allow
  36. the program to merge points that are close together.
  37.  
  38. The options can be any of the following:
  39.  
  40. /x??? .... The minimum distance between x coordinates before they are
  41.            merged. (default: 4)
  42. /y??? .... The minimum distance between y coordinates before they are
  43.            merged. (default: 2)
  44. /m??? .... The minimum number of points a polygon should have before the
  45.            merging process takes effect. (default: 100)
  46. /a??? .... The minimum angle in degrees by which the gradient of two
  47.            consecutive lines can differ before they are joined to make
  48.            one line.
  49. /w ....... This has nothing to do with optimizing the size. It just sets
  50.            the background colour to white.
  51.  
  52. The setting "/m150 /x10 /y7" works fairly well for me, but I haven't used
  53. this much, so you'll probably find you'll need to experiment with each
  54. picture you are converting.
  55.  
  56. By making the /m setting around 150, you can have the /x and /y settings
  57. fairly high. That way, small polygons used in fonts still keep their detail,
  58. while large polygons which hopefully don't need to be too accurate can get
  59. compressed quite a bit.
  60.  
  61. Other than the need to keep your RIP files small, the main reason for the
  62. compression is that the current RIP implementations (RIPPAINT and RIPTERM)
  63. are too spastic to handle large polygons. WMF2RIP will warn you if the
  64. polygons produced are fairly big. I'm not sure what the cut off point is,
  65. so sometimes RIP files with warnings will still work, but sometimes they
  66. won't.
  67.  
  68. You will also find, that only a very few of the WMF commands are
  69. implemented. You will be warned if an unrecognised command is found in
  70. the WMF file.
  71.  
  72. The palette commands are implemented fairly well as long as the picture
  73. doesn't have too many colours. Once the convertor runs out of colours to
  74. use, it defaults to black. Also, since RIP only supports a palette of 64,
  75. and WMF files can use a palette of 16 million, there are bound to be some
  76. colours that don't look quite right.
  77.  
  78. From time to time you may get X and Y points that are out of range. You
  79. will get a warning, but the program will do nothing to try and fit them
  80. onto the picture. If they are negative, the RIP picture may screw up,
  81. but if they are too big, the picture should be fine other than that it
  82. is cut off at the edge.
  83.  
  84. If you are exporting WMF files from Corel Draw, you'll probably find that
  85. the proportion of the picture can get screwed up badly. If you draw a block
  86. around your picture in the proportion of 640x480, it should solve the
  87. problem. Alternatively you can save it with a placeable header (probably
  88. the better solution), although I'm not actually sure if that will work.
  89.  
  90. One last thing - the RIP files produced are not very well optimized, so you
  91. can probably compress them quite a bit by loading them into RipPaint, using
  92. the optimize option and then saveing them again.
  93.  
  94. - Jim Holderness, Developer, Vironix
  95.  
  96. ┌───────────────────┐
  97. │ Revision History: │
  98. └───────────────────┘
  99.  
  100. - Version 0.000000003:
  101.   Added support for placeable headers
  102.  
  103. ┌────────────────────────────────────────────────────┐
  104. │ Other toys you can look out for in the near future │
  105. └────────────────────────────────────────────────────┘
  106.  "Near future" being an arbitary variable of time.
  107.  
  108. o   Terminal Emulation comms program - just basic stuff with Zmodem
  109.     support and *decent* ANSI and RIP emulations.
  110.     [Update: the above comment was refering to RIPTerm 1.5.1 ... version
  111.     1.5.4 fixes quite a few of the shortcomings thankfully]
  112.     Major advantage: will not rely on Borland's BGI Graphics drivers ...
  113.     somewhat limiting unfortunately.
  114.  
  115. o   RIP file viewer - better than having to load up RIPaint to admire
  116.     your Coreldraw handiwork! (we've done a native Windows version if
  117.     anyone is interested in taking a look? If so drop us a note)
  118.  
  119.